﻿using Model;

namespace IBLL
{
    public interface IZKBLL
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="y"></param>
        /// <returns></returns>
        Task<int> Add(yhmodel y);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<int> Delete(int id);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="y"></param>
        /// <returns></returns>
        Task<int> Update(yhmodel y);
        /// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        List<yhmodel> GetAll();

    }
}
